package com.moshang.blog.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.moshang.blog.entity.vo.TableField;
import com.moshang.blog.entity.vo.TableVO;

import java.util.List;
import java.util.Map;

/**
 * @program: blog
 * @description: 数据库表操作接口
 * @author: xieweiwei
 * @create: 2018-10-11 10:22
 **/
public interface TableService {
    Page<TableVO> selectTablePage(Page<TableVO> objectPage, String searchKey, String searchValue);

    Integer getTableCount();

    List<TableVO> findAllTables(Map<String, Object> params);

    TableVO detailTable(String name);

    List<TableField> selectFields(Map<String, Object> map);

    byte[] generatorCode(String[] split);
}
